package io.geekidea.boot.shop.vo.web;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户信息查询结果
 *
 * @author geekidea
 * @since 2024-10-31
 */
@Data
@Schema(description = "用户信息查询结果")
public class MemberVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @Schema(description = "邀请人id")
    private String inviteId;

    @Schema(description = "手机号")
    private String username;

    @Schema(description = "微信名")
    private String nickname;

    @Schema(description = "状态")
    private Integer status;

    @Schema(description = "累计消费")
    private BigDecimal balance;

    @Schema(description = "更新时间")
    private Date updatedTime;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "头像")
    private String avatarUrl;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "微信openid")
    private String openid;

    @Schema(description = "是否删除")
    private Integer isDel;

    @Schema(description = "等级id")
    private Long levelId;

    @Schema(description = "角色 1 代理商  2 非代理商")
    private String role;

    @Schema(description = "微信号")
    private String wechatNo;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "股权")
    private BigDecimal shareholding;

}